<ul class="menu-box">
  <li *ngFor="let item of menuData" [ngSwitch]="item.type">
    <a *ngSwitchCase="'link'" [href]="item.linkUrl" target="_blank">{{item.label}}</a>
    <a *ngSwitchCase="'route'" [routerLink]="item.routeUrl">{{item.label}}</a>
    <a *ngSwitchCase="'callback'" (click)="item.callback()">{{item.label}}</a>
  </li>
</ul>
